package com.kingdee.eas.custom.bases;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RelateUnitFactory
{
    private RelateUnitFactory()
    {
    }
    public static com.kingdee.eas.custom.bases.IRelateUnit getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IRelateUnit)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("3DEA3E2E") ,com.kingdee.eas.custom.bases.IRelateUnit.class);
    }
    
    public static com.kingdee.eas.custom.bases.IRelateUnit getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IRelateUnit)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("3DEA3E2E") ,com.kingdee.eas.custom.bases.IRelateUnit.class, objectCtx);
    }
    public static com.kingdee.eas.custom.bases.IRelateUnit getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IRelateUnit)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("3DEA3E2E"));
    }
    public static com.kingdee.eas.custom.bases.IRelateUnit getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.bases.IRelateUnit)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("3DEA3E2E"));
    }
}